package com.huidu.bitrade.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "AcReferrerRewardsVO对象", description = "创世节点信息查询")
public class AcReferrerRewardsVO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "编号", orderNum = "1", width = 20)
    private Long memberId;

    @ApiModelProperty("用户手机号")
    @Excel(name = "用户手机号", orderNum = "1", width = 20)
    private String mobilePhone;

    @ApiModelProperty("邀请人id")
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "邀请人id", orderNum = "1", width = 20)
    private Long inviterId;

    @ApiModelProperty("邀请人手机号")
    @Excel(name = "邀请人手机号", orderNum = "1", width = 20)
    private String toMobilePhone;

    @ApiModelProperty("用户等级")
    @Excel(name = "用户等级", orderNum = "1", width = 20)
    private Integer memberStar;

    @ApiModelProperty("首次购买时间")
    @Excel(name = "首次购买时间", orderNum = "1", width = 20)
    private String memberFirstTime;

    @ApiModelProperty("邀请人首次购买时间")
    @Excel(name = "邀请人首次购买时间", orderNum = "1", width = 20)
    private String toMemberFirstTime;

    @ApiModelProperty("邀请人星级")
    @Excel(name = "邀请人星级", orderNum = "1", width = 20)
    private Integer toMemberStar;
}
